package com.cn.longdistancebusstation.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by mal on 2018/2/3.
 * 取消订单时的返回结果
 */

public class OrderResult {
    private Result.Head head;

    public Result.Head getHead() {
        return head;
    }

    public void setHead(Result.Head head) {
        this.head = head;
    }

    @SerializedName("body")
    private Body mBody;

    public Body getBody() {
        return mBody;
    }

    public void setBody(Body body) {
        mBody = body;
    }

    //
    public class  Head {
        private String msg;
        @SerializedName("success")
        private Boolean isSuccess;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public Boolean getSuccess() {
            return isSuccess;
        }

        public void setSuccess(Boolean success) {
            isSuccess = success;
        }
    }

    public class Body{
        @SerializedName("flags")
        List<String> mFlags;

        public List<String> getFlags() {
            return mFlags;
        }

        public void setFlags(List<String> flags) {
            mFlags = flags;
        }
    }
}
